package com.j2eefast.produce.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 委托登记
 * pms_inspection_account
 * @author: summer
 * @date 2021-05-30 11:28
 */
@Data
@TableName("pms_register_entrust")
public class PmsRegisterEntrustEntity extends BaseEntity{

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
      /** 检验人 */
    @TableField(value = "task_name")
    private String  taskName;

    /** 委托编号 */
    @TableField(value = "entrust_code")
    private String  entrustCode;
    /** 委托编号统计 */
    @TableField(value = "entrust_total")
    private Long  entrustTotal;

    /** 送检账户 */
    @TableField(value = "inspection_account")
    private Long inspectionAccount;

    /** 送检单位 */
    @TableField(value = "inspection_unit")
    private String inspectionUnit;

    /** 工程项目 */
    @TableField(value = "project_name")
    private String projectName;

    /** 工程类别 */
    @TableField(value = "project_type")
    private String projectType;

    /** 检测行业 */
    @TableField(value = "testing_industry")
    private String testingIndustry;

    /** 送样人 */
    @TableField(value = "inspection_user")
    private String inspectionUser;

    /** 送样人手机号码 */
    @TableField(value = "inspection_iphone")
    private String inspectionIphone;


    /** 委托单位 */
    @TableField(value = "entrust_unit")
    private String entrustUnit;

    /** 检验类别 */
    @TableField(value = "test_category")
    private String testCategory;

    /** 见证人 */
    @TableField(value = "witness")
    private String witness;

    /** 见证人手机 */
    @TableField(value = "witness_iphone")
    private String witnessIphone;

    /** 见证单位 */
    @TableField(value = "witness_unit")
    private String witnessUnit;

    /** 样品来源 */
    @TableField(value = "sample_source")
    private String sampleSource;

    /** 取样地点 */
    @TableField(value = "sampling_addr")
    private String samplingAddr;

    /** 抽样人 */
    @TableField(value = "samplers")
    private String samplers;

    /** 抽样人手机 */
    @TableField(value = "samplers_iphone")
    private String samplersIphone;

    /** 抽样单位 */
    @TableField(value = "samplers_unit")
    private String samplersUnit;

    /** 施工单位 */
    @TableField(value = "construction_unit")
    private String constructionUnit;

    /** 委托联系人 */
    @TableField(value = "entrust_contacts")
    private String entrustContacts;

    /** 是否留样 */
    @TableField(value = "whether")
    private String whether;

    /** 样品处理 */
    @TableField(value = "sample_handle")
    private String sampleHandle;

    /** 建设单位 */
    @TableField(value = "build_unit")
    private String buildUnit;

    /** 承担科室 */
    @TableField(value = "bears")
    private String bears;

    /** 受理地点 */
    @TableField(value = "acceptance_addr")
    private String acceptanceAddr;

    /** 报告邮寄地址 */
    @TableField(value = "mail_addr")
    private String mailAddr;

    /** 登记员 */
    @TableField(value = "register_name")
    private String registerName;

    /** 委托金额 */
    @TableField(value = "entrust_amount")
    private BigDecimal entrustAmount;

    /** 委托押金 */
    @TableField(value = "entrust_deposit")
    private BigDecimal entrustDeposit;




    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    private Date createTime;

    /** 作废 */
    @TableField(value = "create_by")
    private String createBy;

    /** 作废 */
    @TableField(value = "update_by")
    private String updateBy;

    /** 作废 */
    @TableField(value = "remark")
    private String remark;

    /** 作废 */
    @TableField(value = "total")
    private Long total;
















}
